<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .a {
            height: 600px;
        }
    </style>
</head>

<body>
    <input type="text" name="" id="" class="i1">
    <div style="width:200px" class="a"></div>
    <ul id="list"></ul>
    <button class="bt">dianji</button>

    <script src="../js/1.js"></script>
    <script>
        let b = document.querySelector(".a");
        yangsi(b, "height")


        let bt1 = document.querySelector(".bt")
        let i1 = document.querySelector(".i1")
        let a = () => {
            console.log("tonight")
        }
        shijian(bt1, "click", a)
        shijian(i1, "keypress", a)

        let body = document.querySelector("body")
        // console.log(body)
        body.onmousemove = (e) => {
            e = e || window.event
            console.log(e)
        }


    </script>

</body>

</html>